﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ActivitiesControl.Domain.DAL
{
	public interface IRepository<T, IdType>
	{
		void Add(T entity);
		void Update(T entity);
		void Remove(T entity);
		void RemoveById(IdType id);
		T GetById(IdType id);
		IEnumerable<T> GetAll();
	}
}
